provider Snapshots GET /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/
Download Snapshot images as ZIP
Download all images in a snapshot as a ZIP archive. The response is a streaming `application/zip` file. Images that share the same content hash are deduplicated during fetch but written under their original filenames in the archive. This endpoint requires a bearer token with `project:read` access.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
snapshot_id path required
The ID of the snapshot to download.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

downloadSnapshotImagesAsZip
GET/api/0/organizations/{organization_id_or_slug}/preprodartifacts/snapshots/{snapshot_id}/download/
Download all images in a snapshot as a ZIP archive. The response is a streaming `application/zip` file. Images that share the same content hash are deduplicated during fetch but written under their original filenames in the archive. This endpoint requires a bearer token with `project:read` access.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID of the snapshot to download.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.downloadSnapshotImagesAsZip()